package com.admin.req.system;

import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 管理员更新
 * 
 * @author ZY
 * @date 2018/10/18
 */
@Data
@ApiModel("UpdateAdminReq(管理员更新)")
public class UpdateAdminReq {

    @ApiModelProperty(value = "用户id", required = true)
    private Integer userId;

    @ApiModelProperty(value = "登录名", required = true)
    private String username;

    @ApiModelProperty(value = "密码", required = true)
    private String password;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "真实姓名", required = true)
    private String realname;

    @ApiModelProperty(value = "账号状态", required = true)
    private Integer istatus;

    @ApiModelProperty(value = "角色id", required = true)
    private List<Long> roleIds;

    @ApiModelProperty(value = "区域")
    private String regionName;

    @ApiModelProperty(value = "区域标识")
    private String regionId;

    @ApiModelProperty(value = "分区标识")
    private String regionCitys;

    /**
     * 获取
     * 
     * @return user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置
     * 
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取用户名
     * 
     * @return username 用户名
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置用户名
     * 
     * @param username 用户名
     */
    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    /**
     * 获取用户密码
     * 
     * @return password 用户密码
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置用户密码
     * 
     * @param password 用户密码
     */
    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    /**
     * 获取会员手机号
     * 
     * @return mobile 会员手机号
     */
    public String getMobile() {
        return mobile;
    }

    /**
     * 设置会员手机号
     * 
     * @param mobile 会员手机号
     */
    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    /**
     * 获取会员邮箱
     * 
     * @return email 会员邮箱
     */
    public String getEmail() {
        return email;
    }

    /**
     * 设置会员邮箱
     * 
     * @param email 会员邮箱
     */
    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    /**
     * 获取真实姓名
     * 
     * @return realname 真实姓名
     */
    public String getRealname() {
        return realname;
    }

    /**
     * 设置真实姓名
     * 
     * @param realname 真实姓名
     */
    public void setRealname(String realname) {
        this.realname = realname == null ? null : realname.trim();
    }

    /**
     * 获取账号状态 0为正常 1为冻结 2为删除或作废或黑名单用户
     * 
     * @return istatus 账号状态 0为正常 1为冻结 2为删除或作废或黑名单用户
     */
    public Integer getIstatus() {
        return istatus;
    }

    /**
     * 设置账号状态 0为正常 1为冻结 2为删除或作废或黑名单用户
     * 
     * @param istatus 账号状态 0为正常 1为冻结 2为删除或作废或黑名单用户
     */
    public void setIstatus(Integer istatus) {
        this.istatus = istatus;
    }

    public List<Long> getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(List<Long> roleIds) {
        this.roleIds = roleIds;
    }

}